package com.digitalchina.lxnsy.activity.farmTrain;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;

/**
 * ================================================
 * 项目名称：android
 * 类描述：培训机构主页
 * 创建人：yzm
 * 创建时间：2020/1/8 17:26
 * 修改备注：
 * ================================================
 */
public class TrainAgencyDetailActivity extends BaseHtmlActivity {

    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);
        loadUrl("train-training-agence-details");
        setTitle("培训机构主页");
    }

    @Override
    public void rightOnClick() {

    }

    public class JsApi {
        //详情
        @JavascriptInterface
        public void details(Object msg) {
            go(TrainMyCaseDetailsActivity.class);
        }
    }
}
